package com.test;

import static org.junit.Assert.*;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.service.SysUserService;

public class shi {

	@Test
	public void test() {
		ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml");
		SysUserService ss = (SysUserService)applicationContext.getBean("sysUserServiceImpl");	
	    System.out.println(ss.selectByExample().size());
	    
	}    
}
